<?php 
  foreach ($this->container as $page) 
{
    $active = $page->isActive();
    echo '<div class="item">';
        echo '<a class="'. ($active ? 'active' : '') .'" href="' . $page->getHref() . '">' . $page->getLabel() . '</a>';
    echo '</div>';
}
?>